package com.zxr.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.zxr.common.annotation.Excel;
import com.zxr.common.core.domain.BaseEntity;

/**
 * 合同对象 contracts
 * 
 * @author zxrproject
 * @date 2025-04-26
 */
public class Contracts extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long contractId;

    /** 商品ID */
    @Excel(name = "商品ID")
    private Long productId;

    /** 合同图片 */
    @Excel(name = "合同图片")
    private String contractImageUrl;

    /** 签约人姓名 */
    @Excel(name = "签约人姓名")
    private String signerName;

    /** 签约人手机号码 */
    @Excel(name = "签约人手机号码")
    private String signerPhone;

    public void setContractId(Long contractId) 
    {
        this.contractId = contractId;
    }

    public Long getContractId() 
    {
        return contractId;
    }

    public void setProductId(Long productId) 
    {
        this.productId = productId;
    }

    public Long getProductId() 
    {
        return productId;
    }

    public void setContractImageUrl(String contractImageUrl) 
    {
        this.contractImageUrl = contractImageUrl;
    }

    public String getContractImageUrl() 
    {
        return contractImageUrl;
    }

    public void setSignerName(String signerName) 
    {
        this.signerName = signerName;
    }

    public String getSignerName() 
    {
        return signerName;
    }

    public void setSignerPhone(String signerPhone) 
    {
        this.signerPhone = signerPhone;
    }

    public String getSignerPhone() 
    {
        return signerPhone;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("contractId", getContractId())
            .append("productId", getProductId())
            .append("contractImageUrl", getContractImageUrl())
            .append("signerName", getSignerName())
            .append("signerPhone", getSignerPhone())
            .append("createTime", getCreateTime())
            .toString();
    }
}
